package com.hqz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("article")
public class Article extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer articleId;
    private String articleName;
    private String introduce;
    private String participant;


//    @TableField(exist = false)
//    private List<Users> usersList;

    @TableField(exist = false)
    private List<Type> typeList;
}
